package com.ruoyi.common.core.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单表对象 cinema_order
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class CinemaOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private String id;

    /** 电影名称 */
    @Excel(name = "电影名称")
    private String mname;

    /** 影厅名称 */
    @Excel(name = "影厅名称")
    private String sname;

    /** 电影ID */
    @Excel(name = "电影ID")
    private Long mid;

    /** 影厅ID */
    @Excel(name = "影厅ID")
    private Long sid;

    /** 场次 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "场次", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wacthtime;

    /** 票价 */
    @Excel(name = "票价")
    private BigDecimal price;

    /** 取票状态 */
    @Excel(name = "取票状态")
    private Integer statu;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMname(String mname) 
    {
        this.mname = mname;
    }

    public String getMname() 
    {
        return mname;
    }
    public void setSname(String sname) 
    {
        this.sname = sname;
    }

    public String getSname() 
    {
        return sname;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setWacthtime(Date wacthtime) 
    {
        this.wacthtime = wacthtime;
    }

    public Date getWacthtime() 
    {
        return wacthtime;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setStatu(Integer statu) 
    {
        this.statu = statu;
    }

    public Integer getStatu() 
    {
        return statu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mname", getMname())
            .append("sname", getSname())
            .append("mid", getMid())
            .append("sid", getSid())
            .append("wacthtime", getWacthtime())
            .append("price", getPrice())
            .append("statu", getStatu())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
